﻿using MediatR;
using W.Common.Enum;

namespace W.Purchase.API.Application.Command.PayableCommand
{
    public class PayableUpdCommand:IRequest<int>
    {
        /// <summary>
        /// 应付管理id
        /// </summary>
        public int PayableId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? PayableSerialNumber { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? PayableName { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string? FinanceTypeName { get; set; }
        /// <summary>
        /// 最后付款日
        /// </summary>
        public string? EndDate { get; set; }
        /// <summary>
        /// 付款方
        /// </summary>
        public string? Payer { get; set; }
        /// <summary>
        /// 收款方
        /// </summary>
        public string? Payee { get; set; }
        /// <summary>
        /// 应付金额
        /// </summary>
        public decimal? PayableMoney { get; set; }
        /// <summary>
        /// 实付金额
        /// </summary>
        public decimal? ActuallyPaidMoney { get; set; }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public decimal? ResidueMoney { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public ReceivableStatus? Status { get; set; }
        /// <summary>
        /// 付款次数
        /// </summary>
        public int? PaymentNum { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Receivableremark { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? user_id { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; }
    }
}
